﻿/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
 *~*  17-Oct-2009
 *~*  www.Learning-Leisure.com
 *~*  Project : PB.FBConnect                    Namespace : PB.FBConnect
 *~*  File : FBApp.cs                               Class : FBApp
 *~*  Author : Pinal Bhatt 
 *~*            self@P-Bhatt.com, www.P-Bhatt.com
 *~*   Version History
 *~*            Last Update Date :     Date 17-Oct-2009       Pinal Bhatt
 *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*/

using System.Configuration;

namespace PB.FBConnect
{
    /// <summary>
    /// Facebook Application level settings
    /// </summary>
    public class FBApp
    {
        #region
        private const string FB_API_KEY = "APIKey";
        private const string FB_SECRET_KEY = "SecretKey";
        private const string FB_XDRECEIVER_URL = "XDReceiver";
        #endregion

        #region Properties
        /// <summary>
        /// Gets Facebook Developer Application's API Key
        /// </summary>
        public static string ApiKey
        {
            get
            {
                return ConfigurationManager.AppSettings[FB_API_KEY];
            }
        }

        /// <summary>
        /// Gets Facebook Developer Application's Secret Key
        /// </summary>
        public static string SecretKey
        {
            get
            {
                return ConfigurationManager.AppSettings[FB_SECRET_KEY];

            }
        }

        /// <summary>
        /// Gets url for cross domain receiver file
        /// </summary>
        public static string XDReceiverUrl
        {
            get
            {
                return ConfigurationManager.AppSettings[FB_XDRECEIVER_URL];

            }
        }
        #endregion
    }
}
